package com.zretc.entity;

/**
 * 类型
 *
 * @author: bLUeSuMMerDreamer
 * @createTime: 2020-07-21 11:23
 */
public class Type {
    //类型编码
    private String typeId;
    //类型名
    private String typeName;
    //基础价
    private Double basePrice;
    //基础重量
    private Double baseWeight;
    //每公斤费用
    private Double weightStep;
    //重量范围限制
    private Double overWeightLimit;
    //超重后每公斤价格
    private Double overWeightStep;
    //最终重量限制
    private Double weightLimit;

    public Type(String typeId, String typeName, Double basePrice, Double baseWeight, Double weightStep, Double overWeightLimit, Double overWeightStep, Double weightLimit) {
        this.typeId = typeId;
        this.typeName = typeName;
        this.basePrice = basePrice;
        this.baseWeight = baseWeight;
        this.weightStep = weightStep;
        this.overWeightLimit = overWeightLimit;
        this.overWeightStep = overWeightStep;
        this.weightLimit = weightLimit;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Double getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(Double basePrice) {
        this.basePrice = basePrice;
    }

    public Double getBaseWeight() {
        return baseWeight;
    }

    public void setBaseWeight(Double baseWeight) {
        this.baseWeight = baseWeight;
    }

    public Double getWeightStep() {
        return weightStep;
    }

    public void setWeightStep(Double weightStep) {
        this.weightStep = weightStep;
    }

    public Double getOverWeightLimit() {
        return overWeightLimit;
    }

    public void setOverWeightLimit(Double overWeightLimit) {
        this.overWeightLimit = overWeightLimit;
    }

    public Double getOverWeightStep() {
        return overWeightStep;
    }

    public void setOverWeightStep(Double overWeightStep) {
        this.overWeightStep = overWeightStep;
    }

    public Double getWeightLimit() {
        return weightLimit;
    }

    public void setWeightLimit(Double weightLimit) {
        this.weightLimit = weightLimit;
    }

    @Override
    public String toString() {
        return "Type{" +
                "typeId='" + typeId + '\'' +
                ", typeName='" + typeName + '\'' +
                ", basePrice=" + basePrice +
                ", baseWeight=" + baseWeight +
                ", weightStep=" + weightStep +
                ", overWeightLimit=" + overWeightLimit +
                ", overWeightStep=" + overWeightStep +
                ", weightLimit=" + weightLimit +
                '}';
    }

    public Type() {
    }
}
